#pragma once
#include "Model.h"
#include "Car.h"
#include "TextField.h"
#include "PauseAnim.h"
#include "Wall.h"
#include "TrackCoverTester.h"
#include "DecalsManager.h"
#include "Sound.h"

class CustomModel :
	public Model
{
public:

	GameObject *bg;
	GameObject *ball;
	Car *carA;
	Car *carB;
	TrackCoverTester *trackTesters[2];

	TextField *title;
	TextField *fpsCounter;
	TextField *p1Laps;
	TextField *p2Laps;
	PauseAnim *pauseAnim;
	Sprite *bgSprite;

	Sound explosion;

	DecalsManager dManager;

	int frames;
	double timePassed;

	CustomModel(void);
	~CustomModel(void);
};
